<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin:0;
        }
        .container{
            width:300px;
            height: 320px;
            background:yellowgreen;
            overflow: hidden;
            position: relative;
        }
        .wrap{
            width:300px;
            height: 320px;
            position: absolute;
            top:0;
            left:0;
        }
        .wrap>p{
            width:100%;
            height: 40px;
            line-height: 40px;
        }  
        .wrap>p:hover{
            background:hotpink;
        } 
        .up{
            position: absolute;
            width:20px;
            height:20px;
            background:brown;
            right:50px;
            bottom:10px;
            border-radius: 3px;
            color:white;
            font-size: 12px;
            line-height: 20px;
            text-align: center;
        }
        .down{
            position: absolute;
            width:20px;
            height:20px;
            background:brown;
            right:20px;
            bottom:10px;
            border-radius: 3px;
            color:white;
            font-size: 12px;
            line-height: 20px;
            text-align: center;
        }
    </style>
    <script src="jquery-1.9.0.js"></script>
    <script>
        function doUp(){
            $(".wrap").animate({top:"-200px"},1000);
        }
        function doDown(){
            $(".wrap").animate({top:"0px"},1000);
        }
    </script>
</head>
<body>
    <div class="container">
        <div class="wrap">
            <p>p01</p>
            <p>p02</p>
            <p>p03</p>
            <p>p04</p>
            <p>p05</p>
            <p>p06</p>
            <p>p07</p>
            <p>p08</p>
            <p>p09</p>
            <p>p10</p>
        </div>
        <div class="up" onclick="doUp()">上</div>
        <div class="down" onclick="doDown()">下</div>
    </div>
</body>
</html>